<template>
  <div id="wisdomPark-section-v5">
    <MyHeadline title="数据可视化" :islink="false" />
    <MyCell>
      <div class="content">
        <div class="item" v-for="i in content_data" :key="i">
          <div class="title-box">
            <div class="icon"></div>
            <div class="title">{{ i.title }}</div>
          </div>
          <div class="value">{{ i.value }}</div>
        </div>
      </div>
    </MyCell>
  </div>
</template>

<script setup lang="ts">
import { ref, onMounted } from 'vue'
import * as echarts from 'echarts'
import { deepCopy } from '@/utils/utils'
import HtEcharts from '@/base-ui/echarts/index'
import MyCell from '@/components/my-cell/index.vue'
import MyHeadline from '@/components/my-headline/index.vue'

import echartsConfig from '../config/wisdomPark-section-v5/echarts-config'
// ========================= 实例

// ========================= 钩子
onMounted(() => {})

// ========================= 数据
// content 数据any
const content_data = ref<any>([
  {
    title: '匿名1',
    value: '希望增加智能垃圾桶'
  },
  {
    title: '匿名2',
    value: '希望智能灯杆增加'
  },
  {
    title: '匿名3',
    value: '智能设施太少'
  }
])
// content-v2 数据
const content_data_v2 = ref([])

// ========================= 函数

// ========================= 请求
</script>

<style scoped lang="less">
#wisdomPark-section-v5 {
  .width_height(100%,100%);
  .content {
    // .width_height(100%,348px);
    width: 100%;
    box-sizing: border-box;
    padding: 0 @space_20 10px 0;
    .item {
      .width_height(100%,40px);
      .D_J_A(space-between,center);
      padding: @space_20 @space_20;
      background-color: rgba(#0c979d, 0.29);
      margin-bottom: 10px;
      border-radius: 4px;
      border-left: 4px solid #0c979d;
      .title-box {
        .D_J_A(center,center);
        .icon {
          .width_height(13px,13px);
          background-image: linear-gradient(to right, #b9e3f4, #77cbed);
        }
        .title {
          .font-S-W-C(14px,400,#fff);
          margin-left: 10px;
        }
      }
      .value {
        .font-S-W-C(14px,400,#fff);
      }
    }
  }
}
</style>
